<link rel="stylesheet" type="text/css" href="css/zqcaseBar_evidence.css"/>
<link rel="stylesheet" type="text/css" href="css/zqAJB_Progress.css"/>
<link rel="stylesheet" type="text/css" href="css/workBar_haveTask.css"/>
<link rel="stylesheet" type="text/css" href="css/Aj-progress.css"/>
<link rel="stylesheet" type="text/css" href="css/feedback.css"/>

<style>
    body {
        font-family: Arial, Helvetica, sans-serif;
    }

    table {
        font-size: 1em;
    }

    .ui-draggable, .ui-droppable {
        background-position: top;
    }
</style>

<!--工作台-->
<div class="wrap" style="background: #f5f5f5;position: relative;top: -3px;">
  <!--头部-->
  <header class="zqNoTaskheader" style="position: relative;background: #f5f5f5;top: 20px;left: 10px">
    <div class="zqNoTaskheaderIn" >

      <!--<div class="container">-->
      <span class="zqspanl">工作台</span>
      <span ng-click="showOverTask()" class="pull-right zqspanr" style="cursor:pointer">
        <!--<img src="img/jishi.png" alt="">-->
        <i class="iconfont" style="position: relative;top:2.5px;">&#xe68a;</i>
         已完成任务
        <!--<img src="img/xiala_03.png" alt="">-->
      </span>
      <!--历史任务-->
      <div class="zqOverJob pull-right wt-scroll" style="overflow-x: hidden; overflow-y: auto; position: absolute; right: 62px; max-height:480px">
        <ul>
          <li ng-repeat="task in overTaskList" class="clearfix">
            <span ng-click="clickCheakBoxUnOver(task.task.id,task.task.title,task.task.caseid,$index)"  class="w_checkBox w_checkBoxS w_checkBoxOn"><i class="iconfont"></i></span>
            <!--<input ng-click="clickCheakBoxUnOver(task.id,task.title,task.caseid,$index)" type="checkbox" checked="checked">-->
            <p class="title1">{{task.task.title}}</p>
            <p class="g-titleArr" style="margin-top: 10px">{{task.task.caseInfo.casename}}</p>
            <div class="zqSomeTime">
              <!--<img src="img/worker_12.png" alt="" ng-show="task.commentsNum">-->
              <i class="iconfont" ng-show="task.task.deadline">&#xe68d;</i>
              <span>{{task.task.deadline}}</span>
              <!--<img src="img/worker_05.png" alt="" ng-show="task.commentsNum" >-->
              <i class="iconfont" ng-show="task.caseTaskReviews.length">&#xe622;</i>
              <!--<span  ng-show="task.commentsNum">{{task.commentsNum}}</span>-->
              <!--<img src="img/worker_07.png" ng-show="task.attrsNum" alt="">-->
              <i class="iconfont" ng-show="task.caseTaskAttses.length">&#xe68f;</i>
              <!--<img src="../../img/y-icon18.png" alt="" ng-show="task.attr2!=0" ng-hide="true">--><!--测试大哥说让隐藏 我也不知道当初怎么设计的所以就隐藏了-->
              <span ng-show="task.attr2!=0">{{task.attr2}}</span>
              <i class="iconfont" ng-show="task.attr2!=0" ng-hide="true">&#xe690;</i>
              <!--<span ng-show="task.attrsNum" class="">{{task.attrsNum}}</span>-->
            </div>
            <div class="g-imgRight">
              <img src="img/person_03.png" ng-repeat="img in task.taskExecutors"  ng-src="{{img.executor.iconUrl}}" alt="头像">
              <!-- <span class="g-bg-text">
                 吴
               </span>-->
            </div>
          </li>
        </ul>
        <button type="button" ng-click="showOverTask(1)" ng-show="!overTaskList.noMore">显示更多</button>
        <!--<button type="button" ng-click="showOverTask(1)" ng-show="!overTaskList.noMore && overTaskList.length>5">显示更多</button>-->
        <div ng-show="overTaskList.noMore" class="g-noMore">没有更多数据</div>
      </div>
      <!--</div>-->

    </div>
  </header>

  <div class="zqNoTaskBigBody" style="background: #ffffff;position: relative;top: 30px;padding-top:30px;margin-left: 5px">
    <!--身体-->
    <div class="zqNoTaskbody">
      <div class="w_drag">
        <p class="w_drag_text"><span>任务可拖拽至案板中</span></p>
        <i class="iconfont w_drag_icon">&#xe663;</i>
      </div>
      <ul id="sortable3" class="CaseDrag " >
        <li class="zqNoTask  pull-left" ng-repeat="other in AJBList" ng-init="parentInex= $index">

          <span id="gaimpanelID" class="hide">{{other.panelId}}</span>

          <!--第一个body- 判断是不是第0个-->
          <div ng-show="other.sequence==1" class="g-workList" >
            <div class="zqNoTaskone clearfix"><p>{{other.panelName}}</p></div>
            <!--没有数据-->
            <div ng-show="!other.myTasks.length" class="zqNoTaskTow">
              <img class="zqNoTaskImg" src="img/noTaskImg.png" alt="">
              <p>还没有案件任务</p>
              <p>先去创建案件吧</p>

              <img class="zqNoTaskAddImg" src="img/noTaskAdd.png" alt="" ng-click="newXin()" ng-mousemove="newXinMove()">
            </div>

            <!--有数据显示-->
            <div ng-show="other.myTasks.length" class="zqthree">
              <!--<div iscroll class="iscroll-wrapper" iscroll-instance="instance" style=" overflow: hidden; position: relative">-->
              <!--<div class="iscroll-scroller">-->
              <div class="g-wrapper wt-scroll g_wrapper_hei" style="overflow-x: hidden; overflow-y: auto;position: relative;">
                <div>
                  <div class="gztCaseList w_typeColor w_typeColor{{task.caseType}}" ng-repeat="task in other.myTasks | filter:{caseName:searchCaseBarCase} track by $index"  ng-init="outerIndex = $index">
                    <div class="g-listWidth" >
                      <div class="g-lineOuter clearFix" ng-click="zqlistBtnClick($event,task)" ng-class="{'g-lineOuterActive':task.showtask}">
                        <!--<div class="g-listLine"></div>-->
                        <span class="nzqameTitle">{{task.caseName}}</span>
                        <!--<div class="zqtitleImg">立案阶段</div>-->
                        <div class="zqshowBox">
                          <!--<img ng-click="zqBox1addClick($event,task.caseId)" class="zqBox1add" src="img/add.png" alt="">-->
                          <div class="zqlistBtn" >
                            <span>{{task.tasks.length}}</span>
                            <!--<img src="img/ionc-down_03.png" class="zqlistBtn_img"/>-->
                            <i class="iconfont zqlistBtn_img">&#xe68b;</i>
                          </div>
                        </div>
                      </div>
                      <div class="zqlist" ng-style="{'display': task.showtask?'block':'none'}" id="{{other.panelId}}" index="{{parentInex}}" case-index="{{$index}}" ng-sortable="panelConf">
                        <div id="{{other.panelId}}" ng-repeat="t in task.tasks track by $index " ng-init="outerIndex" draggable="false" >
                          <div id={{"11"+t.id+"!%!"+t.taskType}} class="ui-state-default clearfix"  style="background: #ffffff; margin-top:10px;padding: 10px" ng-hide="t.task.status==1"><!--ng-click="showDetailBox(t,$parent.$parent.$index,$parent.$index,$index,$event)"-->
                            <div class="d-closeSiblings" fy-task-detail  detail="task.tasks[$index]" parent-list="task.tasks" current="{{$index}}" style="position:fixed;z-index: 1040;display: none; top:0;right:-700px"></div>
                            <!--<input ng-show="t.taskType != 1" ng-click="clickCheakBoxOverTask(t,task.tasks,$index,$event)" class="checkBoxClick" type="checkbox">-->
                            <!--<input ng-show="t.taskType != 2" ng-click="clickCheckBoxOverEvidenceTask(t,task.tasks,$index,$event)" class="checkBoxClick" type="checkbox" style="top:2px; left:-5px">-->
                            <div class="my-handle" style="height:62px;">
                            <div style=" position: relative">
                              <!--模拟复选框-->
                              <!--<span ng-show="t.taskType != 1" ng-click="clickCheakBoxOverTask(t,task.tasks,$index,$event)" class="w_checkBox w_checkBoxS"><i class="iconfont">&#xe685;</i></span>-->
                              <span ng-show="t.taskType != 2" ng-click="clickCheakBoxOverTask(t,task.tasks,$index,$event)" class="w_checkBox w_checkBoxS"><i class="iconfont">&#xe685;</i></span>
                              <p style="margin-left: 30px;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;">{{t.task.title}}</p>
                            </div>

                            <div class="zqSomeTime" style="margin-left: 30px">
                              <!--时间-->
                              <!--<img src="img/worker_12.png" alt="" ng-show="t.task.deadline">-->
                              <i class="iconfont" ng-show="t.task.deadline">&#xe68d;</i>
                              <span ng-show="t.task.deadline">{{t.task.deadline}}</span>
                              <!--评论-->
                              <!--<img src="img/worker_05.png" alt="" ng-show="t.caseTaskReviews.length">-->
                              <i class="iconfont"  ng-show="t.caseTaskReviews.length">&#xe622;</i>
                              <span  ng-show="t.caseTaskReviews.length">{{t.caseTaskReviews.length}}</span>
                              <!--附件-->
                              <!--<img src="img/worker_07.png" alt="" ng-show="t.caseTaskAttses.length">-->
                              <i class="iconfont" ng-show="t.caseTaskAttses.length">&#xe68f;</i>
                              <span  ng-show="t.caseTaskAttses.length">{{t.caseTaskAttses.length}}</span>
                              <!--检查项-->
                              <!--<img src="../../img/y-icon18.png" alt="" ng-show="t.caseTaskCheckList.length">-->
                              <i class="iconfont" ng-show="t.caseTaskCheckList.length">&#xe690;</i>
                              <span ng-show="t.caseTaskCheckList.length">{{t.caseTaskCheckList.length}}</span>
                            </div>
                            <div class="g-imgRight">
                              <img src="img/person_03.png" ng-src="{{img.executor.iconUrl}}" ng-repeat="img in t.taskExecutors" alt="头像">
                            </div>
                          </div>
                          </div>
                        </div>
                        <!--点击新建新建按钮-->
                        <div class="zqNewGreatBtn">
                          <div>
                            <span ng-click="zqBox1addClick($event,task.caseId)" >快速添加任务{{ajrwInput}}</span>
                            <i class="iconfont w_zqBox1add">&#xe684;</i>
                            <div class="w_addTask"><!--zqNewGreat-->
                              <textarea autofocus maxlength="200" ng-click="ajrwFrieFocus()" class="ajrwFrieFocus" ng-model="task.ajrwInput" name="MSG" placeholder="要新建一个任务" cols=40 rows=3></textarea>
                              <div class="clearfix">
                                <div class="parent1 pull-left">
                                  <select class="ajrwSe">
                                    <option value="{{jd.id}}" ng-repeat="jd in caseAJRWJD">{{jd.name}}</option>
                                  </select>
                                </div>
                              </div>
                              <div class="w_btnBox">
                                <button ng-click="addTaskOrEvi($event,task,task.caseId)" class="w_btn w_conserve">保 存</button>
                                <button ng-click="box1cannelClick($event)" id="zjcancel" class="box1cannel">取 消</button>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                      <!--点击新建新建-->
                      <!--<div class="zqNewGreat">
                        <div class="rongqi">
                          <textarea autofocus maxlength="200" ng-click="ajrwFrieFocus()" class="ajrwFrieFocus" ng-model="ajrwInput" name="MSG" placeholder="要新建一个任务" cols=40 rows=3></textarea>
                          <div class="clearfix">
                            <div class="parent1 pull-left">
                              <select class="ajrwSe">
                                <option value="{{jd.id}}" ng-repeat="jd in caseAJRWJD">{{jd.name}}</option>
                              </select>
                            </div>
                            &lt;!&ndash;<img class="img1" src="img/zqselectcover.png" alt="">&ndash;&gt;
                          </div>
                          <div class="g-buttonOuter clearfix">
                            <button ng-click="addTaskOrEvi($event,ajrwInput,task.caseId,task.tasks)" class="save">保 存</button>
                            <button ng-click="box1cannelClick($event)" id="zjcancel" class="box1cannel">取 消</button>
                          </div>
                        </div>
                      </div>-->
                    </div>
                  </div>
                  <!--gztCaseList-->
                </div>
              </div>
              <div class="zqsearchBar">
                <i class="iconfont">&#xe613;</i>
                <input maxlength="50" ng-model="searchCaseBarCase1" class="searchcase" type="search" name="search" id="search" ng-keyup="searchCaseBarCaseClick(searchCaseBarCase1)" placeholder="搜索案件" >
                <!--<button ng-click="searchCaseBarCaseClick(searchCaseBarCase1)">
                  <img src="img/worker1_11.png" alt="搜索" >
                </button>-->
              </div>
            </div>
            <!--有数据显示-->
          </div>

          <!--判断是不是以后的新增的-->
          <div ng-show="!(other.sequence==1)">
            <!--网络请求新增自定义的-->
            <div class="zqNoTasknowBody pull-left">
              <div class="zqNoTaskone zqTitleBar clearfix">

                <p class="zqNoTaskTitle" style="margin: 0 0 0;">{{other.panelName}}</p>

                <!--<div class="zqUpdateName">
                  <input maxlength="50" ng-model="other.updateNameText" type="text" placeholder="{{other.panelName}}" class="gztInputName">
                  <img ng-click="updateNameYes($event,other)" src="img/explicon.png" alt="">
                </div>-->

                <!--编辑案板-->
                <div class="zqUpdateName clearfix">
                  <input maxlength="50" ng-model="other.updateNameText" type="text" value="{{other.panelName}}" class="gztInputName">
                  <div class="w_btnBox">
                    <button class="w_btn w_conserve" ng-click="updateNameYes($event,other)">确定</button>
                    <button class="w_btn w_cancel" ng-click="updateNameNo($event)">取消</button>
                  </div>
                </div>

<!--
                <img ng-show="other.panelId>2" ng-click="showUpdateTaskBox($event)" class="pull-right" style="margin-top: 10px;margin-right:
                10px;cursor: pointer;" src="img/updateEG.png" alt="">
-->
                <i ng-show="other.panelId>2" ng-click="showUpdateTaskBox($event)"  class="iconfont w_manageBtn">&#xe682;</i>
                <div class="updateBox">
                  <div class="titleName">
                    <span class="name">操作菜单</span>
<!--
                    <span class="glyphicon glyphicon-remove error" ng-click="removeBox($event)"></span>
-->
                    <i class="iconfont" ng-click="removeBox($event)">&#xe683;</i>
                  </div>
                  <div class="list lis1" ng-click="updateName($event,other)"><i class="iconfont">&#xe680;</i>编辑案板</div>
                  <!--没有任务可以删除-->
                  <div ng-show="!other.myTasks[0]" class="list lis2" data-toggle="modal" data-target="#deleteModalpanel"
                       ng-click="deleteEGroup($event,other.panelId, $index)"><i class="iconfont">&#xe681;</i>删除案板</div>
                  <!--有任务不可以删除-->
                  <div ng-show="other.myTasks[0]" class="list lis2" data-toggle="modal" data-target="#deleteButHaveTaskModalpanel"
                       ng-click="deleteEGroup($event,other.panelId, $index)"><i class="iconfont">&#xe681;</i>删除案板</div>
                </div>

              </div>


              <!--中间的内容-->
              <div class="zqtow"  id="{{other.panelId}}">



                <!--有任务-->
                <!--<div iscroll class="iscroll-wrapper" iscroll-instance="instance" style=" overflow: hidden; position: relative"  ng-show="other.myTasks[0]" id="{{other.panelId}}">-->
                <!--<ul class="iscroll-scroller">-->
                <div class="g-wrapper wt-scroll" style="overflow-x: hidden; overflow-y:auto; position: relative"   id="{{other.panelId}}">
                  <ul  index="{{parentInex}}" id="{{other.panelId}}" ng-sortable="panelConf"><!--ng-sortable="panelConf"-->
                    <li ng-repeat="otherLi in other.myTasks track by $index" class="clearfix" ><!--ng-click="showDetailBox(otherLi,null,$parent.$index,$index,$event)"-->
                      <div class="d-closeSiblings" fy-task-detail  detail="other.myTasks[$index]" parent-list="other.myTasks" current="{{$index}}" style="position:fixed;z-index: 1040;display: none;top:0;right:-700px;" ></div><!--ng-mousedown="$event.stopPropagation();"-->

                        <span ng-show="otherLi.taskType == 1" ng-click="clickCheakBoxOverTask(otherLi,other.myTasks,$index,$event)" class="w_checkBox w_checkBoxS"><i class="iconfont"></i></span>
                        <span ng-show="otherLi.taskType == 2" ng-click="clickCheckBoxOverEvidenceTask(otherLi,other.myTasks,$index,$event)" class="w_checkBox w_checkBoxS"><i class="iconfont"></i></span>
                        <!--<input ng-show="otherLi.taskType == 1" ng-click="clickCheakBoxOverTask(otherLi,other.myTasks,$index,$event)" class="checkBoxClick" type="checkbox">-->
                        <!--<input ng-show="otherLi.taskType == 2" ng-click="clickCheckBoxOverEvidenceTask(otherLi,other.myTasks,$index,$event)" class="checkBoxClick" type="checkbox">-->
                      <div class="my-handle" style="height:62px;width:100%;padding:0;">

                        <p class="clearfix">
                          <span class="lTitle">{{otherLi.task.title}}</span>
                          <span class="rTitle" ng-click="backToCase(otherLi,$event)" title="归至案件任务">
                          <i class="iconfont">&#xe697;</i>撤销
                            <!--<img  class="rTitle" src="img/worker_12.png" alt="">-->
                         </span>
                        </p>
                        <p class="g-title1">{{otherLi.attr1}}</p>
                        <div class="zqSomeTime">
                          <img src="img/worker_12.png" alt="" ng-show="otherLi.task.deadline">
                          <span ng-show="otherLi.task.deadline">{{otherLi.task.deadline}}</span>
                          <img src="img/worker_05.png" alt="" ng-show="otherLi.caseTaskReviews.length">
                          <span  ng-show="otherLi.caseTaskReviews.length">{{otherLi.caseTaskReviews.length}}</span>
                          <img src="img/worker_07.png" alt="" ng-show="otherLi.caseTaskAttses.length">
                          <span  ng-show="otherLi.caseTaskAttses.length">{{otherLi.caseTaskAttses.length}}</span>
                          <img src="../../img/y-icon18.png" alt="" ng-show="otherLi.caseTaskCheckList.length">
                          <span ng-show="otherLi.caseTaskCheckList.length">{{otherLi.caseTaskCheckList.length}}</span>
                        </div>
                        <div class="g-imgRight">
                          <img src="img/person_03.png" ng-src="{{img.executor.iconUrl}}" ng-repeat="img in otherLi.taskExecutors" alt="头像">
                        </div>
                      </div>
                    </li>
                    <!--没有任务-->
                    <li ng-if="!other.myTasks[0]" class="zqNoTaskCenten" draggable="true" ondragstart="event.stopPropagation();">

                      <div id="ui-one1"  style="background: #f9f9f9; height: 28px;">

                      </div>

                      <p class="zqNoTask-p">您还没添加任何任务，点击下方输入框快速创建任务，或拖拽案件到此案板中。</p>
                    </li>
                    <!--可拖拽提示框-->
                    <li class="w_draggable" ng-hide="true">任务可拖拽至此处</li><!--拖拽到提示-->
                  </ul>


                </div>
                <!--点击增加,出现的div-->
                <div class="zqNewGreat pull-left" id="zqNowWork">
                  <div class="zqTow">
                    <div class="rongqi">
                      <textarea maxlength="200" ng-attr-autofocus="true"  ng-click="getFirFous()" id="getFocus" class="getFirFous" ng-model="other.note" placeholder="要新建一个任务" cols=40 rows=3 ng-blur="getFirFousB($event)"></textarea>
                      <div class="clearfix">
                        <div class="parent1 pull-left">
                          <select ng-click="getFirFousTextarea()" class="xzjzSe" ng-model="ncname" ng-options="choose3.casename for choose3 in chooseTaskList3" ng-change="chooseCase3(ncname)">
                            <option value="">请选择</option>
                          </select>
                        </div>
                        <!--<img class="img1" src="img/xiala.png" alt="">  -->
                        <div class="parent2 pull-left" ng-show="chooseStageList3.length > 0">

                          <select ng-model="nsname" ng-options="stage3.id as stage3.name for stage3 in chooseStageList3" ></select><!--ng-change="chooseStage3(nsname)"-->

                        </div>
                        <!--<img class="img2" src="img/xiala.png" alt="">  -->
                      </div>
                      <!--<div class="g-buttonOuter clearfix w_btnBox">
                        <button ng-click="saveTask3($event,other,MSG3)" class="save w_btn w_conserve">保 存</button>
                        <button ng-click="dataCancelClick($event)" class="cannel w_btn w_cancel" id="dataCancel">取 消</button>
                      </div>-->

                      <div class="w_btnBox">
                        <button ng-click="saveTask3($event,other,other.note)" class="w_btn w_conserve">保存</button>
                        <button ng-click="dataCancelClick($event,other)" class="w_btn w_cancel" id="dataCancel">取消</button>
                      </div>
                    </div>
                  </div>
                </div>
                <!--新增-->
                <!--<div class="zqAddDiv" ng-hide="!other.myTasks.length">-->
                <div class="zqAddDiv" ng-click="showAddNowWork3($event,other)">
                    <div>
                      <i class="iconfont w_zqBox1add"></i>
                      <!--<img ng-click="showAddNowWork3($event)" src="img/add.png" alt="">-->
                      <span>快速添加任务</span>
                    </div>
                </div>
              </div>
              <!--有数据显示-->
            </div>
          </div>

        </li>
      </ul>

      <!--删除案板弹出确认框-->
      <div class="modal" id="deleteModalpanel" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"
           aria-hidden="true">
        <div class="modal-dialog alert-container">
          <div class="modal-content text-center">
            <p class="alert-title">删除案板</p>
            <p>确认删除案板？</p>
            <i class="iconfont">&#xe683;</i>
            <button type="button" class="btn del-confir" ng-click="deletePanelConfirm($event)">确认</button>
            <input type="hidden" id="hiddenval" />
            <button type="button" class="btn yb-cancel-btn" data-dismiss="modal">取消</button>
          </div>
        </div>
      </div>

      <!--删除案板弹出确认框,但有案件,所以不可删除-->
      <div class="modal" id="deleteButHaveTaskModalpanel" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"
           aria-hidden="true">
        <div class="modal-dialog alert-container">
          <div class="modal-content text-center">
            <p class="alert-title">案板已有任务不可删除</p>
            <p>可拖拽任务至其他案板再删除</p>

            <button type="button" class="btn del-confir" ng-click="deleteButHaveTaskPanelConfirm($event)">确认</button>
            <!--<input type="hidden" id="hiddenval" />-->
            <button type="button" class="btn yb-cancel-btn" data-dismiss="modal">取消</button>
          </div>
        </div>
      </div>
      <!--新建浅-->
      <div id="newBox" class="zqNoTaskNew2Great pull-left">
        <div class="zqNoTaskone" id="addThirdDiv">
          <i class="iconfont">&#xe684;</i>
          <!--<img class="imageL zqNoTaskBottom_img" src="img/add.png" alt="">-->
          <span>新增</span>
          <!--<img src="../../img/worker1_07.png" class="g-workImgR" alt="新增">-->
        </div>
        <!--点击增加,出现的div-->
        <div class="ThirdDiv" id="idThirdDiv">
          <input maxlength="50" ng-model="addInputName" id="addInputName" type="text" name="MSG" placeholder="输入标题"/>
          <!--<img class="img2" src="img/xiala.png" alt="">-->
          <!--<div  style="margin-left: -53px;">
            <button ng-click="addWorkBarPannel(addInputName)" id="saveAdd" class="save">保 存</button>
            <button class="cannel" id="cancel">取 消</button>
          </div>-->

          <p class="w_btnBox"><button id="cancel" class="w_btn w_cancel">取消</button>
            <button ng-click="addWorkBarPannel(addInputName)" id="saveAdd"  class="w_btn w_conserve">保存</button>
            </p>
        </div>
      </div>

    </div>
  </div>
</div>



<!--删除新建任务弹出确认框-->
<div class="modal" id="deleteModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"
     aria-hidden="true">
    <div class="modal-dialog alert-container">
        <div class="modal-content text-center">
            <p class="alert-title">删除案件将删除所有的数据</p>
            <p>此操作不可逆，是否删除？</p>
            <button type="button" class="btn del-confir" ng-click="deleteConfirm()">确认</button>

            <button type="button" class="btn yb-cancel-btn" ng-click="deleteCancel()">取消</button>
        </div>
    </div>
</div>

<!--&lt;!&ndash;修改案板弹出确认框&ndash;&gt;-->
<!--<div class="modal" id="editModalpanel" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"-->
     <!--aria-hidden="true">-->
    <!--<div class="modal-dialog alert-container">-->
        <!--<div class="modal-content text-center">-->
            <!--<p class="alert-title">此操作将删除该案板之前的标题</p>-->
            <!--<p>此操作不可逆，是否确认修改？</p>-->
            <!--<button type="button" class="btn del-confir" ng-click="updateNameConfirm()">确认</button>-->
            <!--<button type="button" class="btn yb-cancel-btn" data-dismiss="modal">取消</button>-->
        <!--</div>-->
    <!--</div>-->
<!--</div>-->

<!--
删除进程弹出框
<div class="modal" id="jcdeletedeleteModalpanel" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"
     aria-hidden="true">
    <div class="modal-dialog alert-container">
        <div class="modal-content text-center">
            <p class="alert-title">此操作将删除该进程</p>
            <p>此操作不可逆，是否确认修改？</p>
            <button type="button" class="btn del-confir" ng-click="jcdeleteupdateNameConfirm()">确认</button>
            <button type="button" class="btn yb-cancel-btn" data-dismiss="modal">取消</button>
        </div>
    </div>
</div>

&lt;!&ndash;删除证据弹出框&ndash;&gt;
<div class="modal" id="zjdeletedeleteModalpanel" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"
     aria-hidden="true">
    <div class="modal-dialog alert-container">
        <div class="modal-content text-center">
            <p class="alert-title">此操作将删除该进程</p>
            <p>此操作不可逆，是否确认修改？</p>
            <button type="button" class="btn del-confir" ng-click="zjdeleteupdateNameConfirm()">确认</button>
            <button type="button" class="btn yb-cancel-btn" data-dismiss="modal">取消</button>
        </div>
    </div>
</div>

-->

<script>
    /*=======个人和公司切换=====*/
    $(".addpeople").on("click", function () {
        var i = $(this).index();
        $(this).addClass("active").siblings().removeClass("active");
        $(this).find("img").attr("src", "img/pepleactiveicon.png");
        $(this).siblings().find("img").attr("src", "img/companyicon.png");
        $(this).parent(".eplAddUl").siblings(".eplAddbody ").find(".eplAddDivli").addClass("hide");
        $(this).parent(".eplAddUl").siblings(".eplAddbody").find(".eplAddDivli").eq(i).removeClass("hide");
    });
    $(".addcompany").on("click", function () {
        var i = $(this).index();
        $(this).addClass("active").siblings().removeClass("active");
        $(this).find("img").attr("src", "img/companyactiveicon.png");
        $(this).siblings().find("img").attr("src", "img/pepleicon.png");
        $(this).parent(".eplAddUl").siblings(".eplAddbody ").find(".eplAddDivli").addClass("hide");
        $(this).parent(".eplAddUl").siblings(".eplAddbody").find(".eplAddDivli").eq(i).removeClass("hide");
    });

    /*======直接选择和添加切换=====*/
    $(".eplAddDivliUl li").on("click", function () {
        var i = $(this).index();
        $(this).addClass("active").siblings().removeClass("active");
        $(this).parent(".eplAddDivliUl").siblings(".eplAddDivDiv").find(".eplAddDivliIn").addClass("hide");
        $(this).parent(".eplAddDivliUl").siblings(".eplAddDivDiv").find(".eplAddDivliIn").eq(i).removeClass("hide");
    });

    /*=====添加律师成员=======*/
    $(".LawyerList li").on("click", function () {
        var i = $(this).index();
        $(this).addClass("active").siblings().removeClass("active");
        $(this).parent().siblings(".LawyerDiv").find(".Lawyerbox").addClass("hide");
        $(this).parent().siblings(".LawyerDiv").find(".Lawyerbox").eq(i).removeClass("hide");
    });
    $(".addlvshi").on("click", function () {
        $(".LawyerAddBody").removeClass("hide");
    });
    $(".LawyerAddBody .Add-close").on("click", function () {
        $(".LawyerAddBody").addClass("hide");
    });


    function expand(elem){
        if (document.createEvent) {
            var e = document.createEvent("MouseEvents");
            e.initMouseEvent("mousedown", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
            elem[0].dispatchEvent(e);
        } else if (element.fireEvent) {
            elem[0].fireEvent("onmousedown");
        }
    }

    /*设置屏幕高度*/
    (function () {
      setHeight();
      function setHeight() {
        var height = $(window).height()-51 + 'px';
        var heightT = $(window).height()-129+ 'px';
        var heightS = $(window).height()-170;
        var taskBodyHeight = $(window).height()-305 + 'px';
        var width = $(window).width()+1200 + 'px';
        var minWidth = $(window).width()+ 'px';
//        var headWidth = $(window).width()+960 + 'px';
        $(".g-wrapper").css("max-height",taskBodyHeight);
        $(".wrap").css("height",height);
        $(".wrap").css("width",$('.zqNoTaskbody').width()+20+ 'px');
        $(".zqNoTaskBigBody").css("min-width",minWidth);
//        $(".zqNoTaskheader").css("width",headWidth);
        $(".zqNoTaskBigBody").css("height",heightT);
        $(".zqNoTaskTow").css("height",heightS-150+'px');
        $(".zqNoTaskbody").css("min-height",heightS+'px');
        $(".g_wrapper_hei").css("min-height",taskBodyHeight);
      };
      $(window).resize(function() {
        setHeight();
      });
    }())
</script>
